package cn.clementine.core.entity;

public class OSInfo {
    public String os_name="";
    public String arch = "";
    public String os_version = "";
    public String java_version = "";
    public String java_vendor = "";
    public String java_vendor_url = "";
    public String java_home = "";
    public String java_vm_specification_version = "";
    public String java_vm_specification_vendor = "";
    public String java_vm_specification_name = "";
    public String user_name = "";

    public OSInfo(){
        this.os_name = System.getProperty("os.name");
        this.os_version = System.getProperty("os.version");
        this.arch = System.getProperty("os.arch");
        this.java_version = System.getProperty("java.version");
        this.java_vendor = System.getProperty("java.vendor");
        this.java_vendor_url = System.getProperty("java.vendor.url");
        this.java_home = System.getProperty("java.home");
        this.java_vm_specification_version = System.getProperty("java.vm.specification.version");
        this.java_vm_specification_vendor = System.getProperty("java.vm.specification.vendor");
        this.java_vm_specification_name = System.getProperty("java.vm.specification.name");
        this.user_name = System.getProperty("user.name");
    }
}
